package com.gxa.p2p.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author BKP
 * @date 2020.8.10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RepaymentRecord implements Serializable {

    private static final long serialVersionUID = -2615522361566812824L;
    // id编号
    private Integer id;
    // 借款id
    private Integer loanId;
    // 借款方id
    private Integer userId;
    // 借款人手机
    private String phoneNumber;
    // 借款人
    private String realName;
    // 借款名称
    private String bidName;
    // 借款金额
    private BigDecimal totalAmount;
    // 期限
    private String repaymentPeriod;
    // 还款方式
    private String repaymentType;
    // 期数
    private String periodType;
    // 应还款时间
    private Date repaymentShouldDate;
    // 实际还款时间
    private Date repaymentActualDate;
    // 还款金额
    private BigDecimal repaymentMoney;
    // 还款状态
    private String status;
    // 还款状态描述
    private String desc;
    // 还款人
    private String repaymentUser;
    //利息
    private BigDecimal interest;
    //逾期罚息
    private BigDecimal overduePunishRate;
    //------------待补充
    //预还金额
    private BigDecimal advanceRepayment;
    //实还金额
    private BigDecimal actualRepayment;
    //本金
    private BigDecimal baseAmount;
}
